#pragma once

#include "gameobject.h"
#include "HeatPhysics.h"

#include "Physics.h"

class WoodBox :	public GameObject, public HeatPhysics
{
private:

	bool canFall;
	bool isBurning;
	float burnTime;
	float resetBurnTime;

public:
	// Constructor
	WoodBox(void);

	// Destructor
	~WoodBox(void);

	//////////////////////////////////////////////////
	// GameObject methods:
	void Update(float deltaTime)									override;
	void Render(void) const											override;
	void HandleCollision(GameObject& other, CollisionInfo& info)	override;
	void ResetToCheckPoint(void)									override;
	void ResetToStart(void)											override;

	//////////////////////////////////////////////////
	// Accessors:
	bool IsBurning(void) const { return isBurning; }
	float BurnTime(void) const { return resetBurnTime; }

	//////////////////////////////////////////////////
	// Mutators:
	void SetBurnTime(float time);

	//player collision
	int Push(CollisionSide side, int amtToMove);
};

